<template>
  <div>
    <slottest>
      <div>代替后的匿名slot</div>
      <div slot="haveName">代替后的具名slot</div>
    </slottest>
  </div>
</template>

<script>
import slottest from "./components/slot"
export default {
  name: 'App',
  components:{
    slottest
  },
  data(){
    return{

    }
  },
}
</script>

<style scoped>
div{
  text-align: center;
}
</style>
